<template>
  <div class="ibutton" @click="$emit('click')">
      <slot>按钮</slot>
  </div>

</template>

<script>
    export default {
        name:'ibutton'
    }
</script>

<style lang="scss" scoped>
    .ibutton{
        width:100%;
        text-align: center;
        color:#fff;
        padding:25px 35px;
        font-size: 18px;
        background:#2c2c2c;
        border-radius: 10px;
    }
</style>
